/***************************************************************
 * Name:      gameApp.cpp
 * Purpose:   Code for Application Class
 * Author:    Bruno, Henrique, Hugo ()
 * Created:   2012-06-01
 * Copyright:
 * License:
 **************************************************************/

#include "gameApp.h"

//(*AppHeaders
#include "gameMain.h"
#include <wx/image.h>
//*)

IMPLEMENT_APP(gameApp);

bool gameApp::OnInit()
{
    srand(time(NULL));
    //(*AppInitialize
    bool wxsOK = true;
    wxInitAllImageHandlers();
    if ( wxsOK )
    {
    	gameFrame* Frame = new gameFrame(0);
    	Frame->Show();
    	SetTopWindow(Frame);
    }
    //*)
    return wxsOK;

}
